# capsules/urls.py
from django.urls import path
from . import views

print("Capsules urls.py loaded")  # 添加调试输出

urlpatterns = [
    path('', views.homepage, name='homepage'),
    path('register/', views.register, name='register'),
    path('create/', views.create_capsule, name='create_capsule'),
    path('dashboard/', views.dashboard, name='dashboard'),
    path('capsule/<int:pk>/', views.view_capsule, name='view_capsule'),
    path('profile/', views.profile, name='profile'),
    path('timecapsule/', views.time_capsule_view, name='time_capsule'),
]